<div class="col-sm-12 mt20">

    <div class="panel panel-default">
        <!-- <div class="panel-body">
            <div class="col-sm-2">
                <input type="text" class="form-control" placeholder="所需参数" ng-model="searchform.docking_system_params">
            </div>
            <div class="col-sm-2">
                <input type="text" class="form-control" placeholder="名称" ng-model="searchform.docking_system_name">
            </div>
            <div class="col-sm-2">
                <input type="text" class="form-control" placeholder="请求地址" ng-model="searchform.docking_system_url">
            </div>
            <div class="col-sm-2">
            </div>
            <div class="col-sm-2">
            </div>
            <div class="col-sm-2">
                <button class="btn btn-info search btn-block" ng-click="loadlist()">立即搜索</button>
            </div>
        </div> -->

        <div class="panel-body">
            <table class="table table-striped table-bordered dataTable table-condensed tree_table" style="table-layout:fixed">
                <thead>
                    <tr>
                        <th class="text-center">系统ID/系统名称</th>
                        <!-- <th class="text-center">通知地址</th> -->
                        <th class="text-center col-xs-4">通知地址/请求地址</th>
                        <th class="text-center">系统参数</th>
                        <!-- <th class="text-center">参数个数</th> -->
                        <th class="text-center col-xs-1">系统状态</th>
                        <!-- <th class="text-center">创建时间</th> -->
                        <th class="text-center">操作</th>
                    </tr>
                </thead>
                <tbody>
                    <tr ng-repeat="sys in sysList">
                        <td class="text-center">
                            {{sys.docking_system_id}}
                            <br />{{sys.docking_system_name}}
                        </td>
                        <!-- <td class="text-center" style="word-wrap: break-word;">{{sys.system_url}}</td> -->
                        <td class="text-center" style="word-wrap: break-word;">
                                <span ng-show="sys.system_url">通知：{{sys.system_url}}</span>
                                <span ng-show="sys.docking_system_url"><br />请求：{{sys.docking_system_url}}</span>
                        </td>
                        <td class="text-center">{{sys.docking_system_params}}</td>
                        <!-- <td class="text-center">{{sys.docking_system_params_num}}</td> -->
                        <td class="text-center">{{sys.state == '1'? '启用': '不启用'}}</td>
                        <!-- <td class="text-center">{{sys.create_time}}</td> -->
                        <td class="text-center">
                            <button type="button" ng-if="sys.state == '0'" class="btn btn-success btn-xs" ng-click="setUp(sys)">启用</button>
                            <button type="button" ng-if="sys.state == '1'" class="btn btn-danger btn-xs" ng-click="setDown(sys)">停用</button>
                            <button type="button" class="btn btn-info btn-xs" ng-click="addCompany(sys)">添加机构</button>
                            <button type="button" class="btn btn-warning btn-xs" ng-click="companyList(sys)">机构列表</button>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>

        <!-- <div class="text-right" style="background-color: white; margin-right: 30px">
            <pagination total-items="totalItems" 
                ng-model="currentPage" 
                ng-change="loadlist(currentPage)" 
                previous-text="上一页" 
                next-text="下一页"
                first-text="首页" 
                last-text="尾页" 
                max-size="5" 
                boundary-links="true" 
                rotate="false" 
                items-per-page="itemsPerPage"
                class="m-t-none m-b"></pagination>
        </div> -->

    </div>
</div>